f4c0b40a9e2d5051b5cc3f4e7cbc1caa24b479f2,activeweb-testing/src/test/java/org/javalite/activeweb/FilterRequestPropertiesSpec.java,FilterRequestPropertiesSpec,shouldSetProperPathValuesInRequestToControllerInSubPackage,#,62

Before Change


    @Test
    public void shouldSetProperPathValuesInRequestToControllerInSubPackage() {
        addFilter(RegistrationController.class, filter);
        controller("/level1/level2/registration").get("index");
        a(filter.path).shouldBeEqual("/level1/level2/registration/index");
        a(filter.method).shouldBeEqual("GET");
        a(filter.uri).shouldBeEqual("/level1/level2/registration/index");

After Change


    @Test
    public void shouldSetProperPathValuesInRequestToControllerInSubPackage() {
        addFilter(RegistrationController.class, filter);
        controller("/level1/level2/registration").integrateViews(false).get("index");
        a(filter.path).shouldBeEqual("/level1/level2/registration/index");
        a(filter.method).shouldBeEqual("GET");
        a(filter.uri).shouldBeEqual("/level1/level2/registration/index");